package com.slipper.codeless.resolve.query;

public class ConditionItem {
    private String tableName;
    private String idName;
    private String pidName;
    private String matchMode;
    private Object matchValue;

    public ConditionItem() {}

    public ConditionItem(String matchMode, Object matchValue) {
        this.matchMode = matchMode;
        this.matchValue = matchValue;
    }

    public ConditionItem(String tableName, String idName, String pidName, String matchMode, Object matchValue) {
        this.tableName = tableName;
        this.idName = idName;
        this.pidName = pidName;
        this.matchMode = matchMode;
        this.matchValue = matchValue;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getPidName() {
        return pidName;
    }

    public void setPidName(String pidName) {
        this.pidName = pidName;
    }

    public String getMatchMode() {
        return matchMode;
    }

    public void setMatchMode(String matchMode) {
        this.matchMode = matchMode;
    }

    public Object getMatchValue() {
        return matchValue;
    }

    public void setMatchValue(Object matchValue) {
        this.matchValue = matchValue;
    }
}
